//
//  XMLoadCacheStatusTool.h
//  XMWeibo
//
//  Created by chi on 14-9-1.
//  Copyright (c) 2014年 xiaoming. All rights reserved.
//

#import <Foundation/Foundation.h>

@class XMHttpGetStatusParams;
@class XMHttpGetStatusResult;

@interface XMLoadCacheStatusTool : NSObject


/**
 *  将微博数据保存到sqlite
 */
+ (void)saveStatusWithParam:(XMHttpGetStatusResult*)result access_token:(NSString*)access_token;


/**
 *  通过sqlite加载缓存微博数据
 *
 *  @param params 请求参数
 *
 *  @return 请求结果
 */
+ (XMHttpGetStatusResult*)loadStatusWithParam:(XMHttpGetStatusParams*)params;

@end
